package utils;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class SqlUtils {

    private static Properties properties=new Properties();

    static {
        InputStream inputStream = DBUtils.class.getResourceAsStream("/sql.properties");
        try {
            properties.load(inputStream);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
    public static String getSql(String key){
        return properties.getProperty(key);
    }
}
